package com.naiterui.ehp.bs.cms.modules.user.vo;

import com.naiterui.ehp.bs.cms.common.json.Dict;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author gaoliangliang
 * @date 2021/1/15 上午7:49
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LoginLogVO implements Serializable {

    public static final int TYPE_DOCTOR = 1;
    public static final int TYPE_PHARMACIST = 2;

    private static final long serialVersionUID = 2335259840931662873L;

    private Long id;
    private Long userId;
    @Dict(type = "loginlog_type")
    private Integer type;
    private String name;
    private String phone;
    private String operate;
    private Date loginTime;
    private String deviceSN;
    private String model;
    private String ip;
    private String loginAddr;

}
